import Vue from 'vue'
import VueRouter from 'vue-router'
import huanying from "@/views/huanying.vue";
import login from "@/views/login/login.vue";
import travel from "@/views/lx/travel.vue";
import zhuce from "@/views/login/zhuce.vue";
import homePage from "@/views/page/homePage.vue";
import Search from "@/views/page/Search.vue";
import Wo from "@/views/My/Wo.vue";
import wan from "@/views/My/wan.vue";
import hao from "@/views/My/hao.vue";
import terms from "@/views/My/terms.vue";
import privacy from "@/views/My/privacy.vue";
import MaintenanceNotice from "@/views/My/MaintenanceNotice.vue";
import feedback from "@/views/My/feedback.vue";
import shezhi from "@/views/My/shezhi.vue";
import abc from "@/views/jdmap/abc.vue";
import juidianmap from "@/views/jdmap/juidianmap.vue";
import HotelRoomList from "@/views/page/HotelRoomList.vue";
import details from "@/views/page/details.vue";
import huobi from "@/views/My/huobi.vue";
import Ai from "@/views/My/Ai.vue";



Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'huanying',
    component: huanying
  },
  {
    path: '/HotelRoomList',
    name: 'HotelRoomList',
    component: HotelRoomList
  },
  {
    path: '/Ai',
    name: 'Ai',
    component: Ai
  },
  {
    path: '/MaintenanceNotice',
    name: 'MaintenanceNotice',
    component: MaintenanceNotice
  },
  {
    path: '/feedback',
    name: 'feedback',
    component: feedback
  },
  {
    path: '/details',
    name: 'details',
    component: details
  },
  {
    path: '/privacy',
    name: 'privacy',
    component: privacy
  },
  {
    path: '/terms',
    name: 'terms',
    component: terms
  },
  {
    path: '/hao',
    name: 'hao',
    component: hao
  },
  {
    path: '/shezhi',
    name: 'shezhi',
    component: shezhi
  },
  {
    path: '/abc',
    name: 'abc',
    component: abc
  },
  {
    path: '/wan',
    name: 'wan',
    component: wan
  },
  {
    path: '/wo',
    name: 'wo',
    component: Wo
  },
  {
    path: '/map',
    name: 'juidianmap',
    component: juidianmap
  },

    {
    path: '/login',
    name: 'login',
    component: login
  }, {
        path: '/travel',
        name: 'travel',
        component: travel
  },
  {
    path: '/zhuce',
    name: 'zhuce',
    component: zhuce
  },
{
    path: '/homePage',
    name: 'homePage',
    component: homePage
  },
  {
    path: '/Search',
    name: 'Search',
    component: Search
  },

  {
    path: '/about',
    name: 'about',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.

  },
    {
    path: '/Wo',
    name: 'Wo',
    component: Wo
  },
  {
    path: '/huobi',
    name: 'huobi',
    component: huobi
  },
]

const router = new VueRouter({
  routes
})

export default router

